package hv.fmw.mvc.model {
	import flash.events.Event;
	/**
	 * @author hvong
	 */
	public class ModelEvent extends Event {
		
		public static const MODEL_READY:String = "ready";
		public static const MODEL_UPDATE:String = "update";
		
		private var _model:Model;
		
		public function ModelEvent(type:String, model:Model, bubbles:Boolean=false, cancelable:Boolean=false) {
			_model = model;
			super(type, bubbles, cancelable);
		}

		public function get model() : Model {
			return _model;
		}
	}
}
